package com.mayflygeek.mayflyask.framework.webmvc.interceptor;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.common.collect.Lists;
import com.mayflygeek.mayflyask.framework.webmvc.annotation.Before;

/**
 * @author 虫虫
 * @team 蜉蝣极客
 * @link www.mayflygeek.com
 * @Emial chongchong@mayflygeek.com
 * 
 */
public class BeforeAnnotatedMethodHandler extends AbstractAnnotatedMethodHandler<Before> {
	@Override
	public List<Class<?>> getSupportedInjectParameterTypes() {
		return Lists.newArrayList(HttpServletRequest.class, HttpServletResponse.class);
	}

	@Override
	public Class<Before> getMethodAnnotation() {
		return Before.class;
	}
}
